package com.ssy.lingxi.system.dto.request;

import javax.validation.constraints.Positive;
import java.io.Serializable;

/**
 * 角色权限配置时，查询菜单关联的按钮Id列表返回
 * @author 万宁
 * @version 2.0.0
 * @date 2022-02-16
 */
public class RoleButtonRequest implements Serializable {
    private static final long serialVersionUID = -7885022905113397543L;

    /**
     * 角色Id
     */
    @Positive(message = "角色Id要大于0")
    private Long roleId;

    /**
     * 菜单Id
     */
    @Positive(message = "菜单Id要大于0")
    private Long menuId;

    public Long getRoleId() {
        return roleId;
    }

    public void setRoleId(Long roleId) {
        this.roleId = roleId;
    }

    public Long getMenuId() {
        return menuId;
    }

    public void setMenuId(Long menuId) {
        this.menuId = menuId;
    }
}
